package com.lsp.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shop.pojo.pms.Pms_Attr;
import com.shop.pojo.pms.Pms_Product_Attr_Value;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface Pms_Attr_Value_Mapper extends BaseMapper<Pms_Attr> {

    @Select("select * from pms_product_attr_value where spu_id=(select spu_id from pms_sku_info where sku_id=#{sku_id})and quick_show=1")
    List<Pms_Product_Attr_Value> selectListAllAttr(Long sku_id);
}
